package com.sparrow.example_message.map.vo;

import com.baidu.bjf.remoting.protobuf.annotation.Package;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;
import com.baidu.bjf.remoting.protobuf.annotation.ProtobufClass;

import java.util.List;

@Package("com.sparrow.example_message.proto")
@ProtobufClass(description = "场景怪物数据")
public class MonsterVO {
    @Protobuf(description = "desc")
    private long monsterId;
    @Protobuf(description = "desc")
    private PositionVo pos;
    @Protobuf(description = "desc")
    private float speed;
    @Protobuf(description = "desc")
    private int angle;
    @Protobuf(description = "路径")
    private List<PositionVo> roads;
    @Protobuf(description = "当前路径索引")
    private int roadIndex;
    @Protobuf(description = "desc")
    private int configId;
    @Protobuf(description = "desc")
    private int atk;
    @Protobuf(description = "desc")
    private int hp;
    @Protobuf(description = "desc")
    private int maxHp;

    public int getAtk() {
        return atk;
    }

    public void setAtk(int atk) {
        this.atk = atk;
    }

    public int getHp() {
        return hp;
    }

    public void setHp(int hp) {
        this.hp = hp;
    }

    public int getMaxHp() {
        return maxHp;
    }

    public void setMaxHp(int maxHp) {
        this.maxHp = maxHp;
    }

    public void setRoadIndex(int roadIndex) {
        this.roadIndex = roadIndex;
    }

    public int getRoadIndex() {
        return roadIndex;
    }

    public void setRoads(List<PositionVo> roads) {
        this.roads = roads;
    }

    public List<PositionVo> getRoads() {
        return roads;
    }

    public long getMonsterId() {
        return monsterId;
    }

    public void setMonsterId(long monsterId) {
        this.monsterId = monsterId;
    }

    public PositionVo getPos() {
        return pos;
    }

    public void setPos(PositionVo pos) {
        this.pos = pos;
    }

    public int getAngle() {
        return angle;
    }

    public void setAngle(int angle) {
        this.angle = angle;
    }

    public float getSpeed() {
        return speed;
    }

    public void setSpeed(float speed) {
        this.speed = speed;
    }

    public void setConfigId(int configId) {
        this.configId = configId;
    }

    public int getConfigId() {
        return configId;
    }
}
